{% extends "base.html" %}
    {% block title %}{{title}}{% endblock %}
    {% block custom_style %}
        <link href="/static/css/login.css" rel="stylesheet">
    {% endblock %}
    {% block content %}
    <!-- Needed for CSRF protection -->
    <form method="POST" id="duo_form">
        {% csrf_token %}
    </form>
    <!---->
    <div style="margin-top:50px;">
        <iframe id="duo_iframe" style="margin-left:auto; margin-right:auto; display:block;" width="620" height="330" frameborder="0"></iframe>
    </div>
    {% endblock %}
    {% block custom_scripts %}
        <script src="/static/js/Duo-Web-v1.min.js"></script>
<script>
    Duo.init({
        'host': '{{duo_host}}',
        'sig_request': '{{duo_request}}',
        'post_action': '{{duo_callback}}'
    });
    </script>
    {% endblock %}